<div class="page-heading">
	<form class="form-horizontal" role="form">
		<div class="form-group">
			<div class="col-md-4 col-sm-12 col-xs-12 form-group">
				<label class="col-lg-3 col-sm-4 control-label">城市:</label>
				<div class="col-lg-9">
					<select class="form-control"  ng-model="cityCode" id="city" ng-change="getCinema()">
						<option value="">全部</option>
                        <option ng-repeat="value in cityList" value="{{value.cityCode}}">{{value.city}}</option>
					</select>
				</div>
			</div>
            
            <div class="col-md-4 col-sm-12 col-xs-12 form-group">
				<label class="col-lg-4 col-sm-4 control-label">影院名称:</label>
				<div class="col-lg-8">
					<select class="form-control"  ng-model="cinemaId" id="cinemaId">
						<option value="">全部</option>
                        <option ng-repeat="value in cinemaList" value="{{value.cinemaId}}">{{value.name}}</option>
					</select>
				</div>
			</div>

            <div class="col-md-4 col-sm-12 col-xs-12 form-group">
				<input name="" type="button" ng-click="accountRecordDraw()" class="btn btn-info" value="查询"/>
			</div>
		</div>
	</form>
</div>

<div class="wrapper">
	<div class="row">
		<div class="col-sm-12">
			<section class="panel panel-body ">
				<table width="100%" class="table table-striped responsive-utilities jambo_table" id="cinemaTable">
					<thead>
					<tr>
						<th>影院ID</th>
                        <th>影院名称</th>
                        <th>所属城市</th>
                        <th>影厅数量</th>
                        <th>影院内码</th>
						<th>影院国家编码</th>
						<th>操作</th>
					</tr>
					</thead>
					<tbody>
					</tbody>
				</table>
			</section>
		</div>
	</div>
</div>

<!-- /modal -->
<div class="modal fade" id="showDetail" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog" style="width: 1100px">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title">
					影院详情
				</h4>
			</div>
			<div class="modal-body" style="overflow-y:scroll;">
            	<h4>基本信息：</h4>
            	<div class="clearfix cinemeInfo">
                	<dl class="clearfix wd1">
                    	<dt>影院名称：</dt>
                        <dd>{{cinemaDetail.name}}</dd>
                    </dl>
                    <dl class="clearfix wd1">
                    	<dt>影院编码：</dt>
                        <dd>{{cinemaDetail.cinemaId}}</dd>
                    </dl>
                    <dl class="clearfix wd1">
                    	<dt>影院内码：</dt>
                        <dd>{{cinemaDetail.cinemaLinkId}}</dd>
                    </dl>
                    <dl class="clearfix wd1">
                    	<dt>营业时间：</dt>
                        <dd><input type="text" ng-model="openingTime" class="textIn" /></dd>
                    </dl>
                    <dl class="clearfix wd2">
                    	<dt>影院logo:</dt>
                        <dd>
                        	<div id="newsimgContainer">
                            	<div class="thumbnail" style=" display:inline-block; margin:0; padding:0; height:30px; box-sizing:border-box; border-radius:0
                                ; border:none; vertical-align:middle; background:#f7f7f7;">
									<img id="uploadPic" ng-model="cinemaLogoUrl" name="uploadPic" src="{{cinemaDetail.cinemaLogoUrl}}" style="max-height:30px;" />
								</div>
								<button id="browse" class="btn btn-primary" style="padding:4px 12px;">选择文件</button>
								<button id='uploadfiles' class="btn btn-success" style=" padding:4px 12px;">上传</button>
								<p id="site_tip"></p>
								
							</div>
                        </dd>
                    </dl>
                    <dl class="clearfix wd1">
                    	<dt>联系电话：</dt>
                        <dd><input type="text" ng-model="phone" class="textIn" /></dd>
                    </dl>
                    <dl class="clearfix wd1">
                    	<dt>影院网址：</dt>
                        <dd><input type="text" ng-model="cinemaWebside" class="textIn" /></dd>
                    </dl>
                    <dl class="clearfix wd1">
                    	<dt>收服务费：</dt>
                        <dd>
                        	<select ng-model="hasFee">
                            	<option value="">请选择</option>
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>		
                        </dd>
                    </dl>
                    <dl class="clearfix wd3">
                    	<dt>影院地址：</dt>
                        <dd>
                        	<select ng-model="province" ng-change="getCity()">
                            	<option value="">请选择</option>
                                <option ng-repeat="value in provinceList" value="{{value.cityCode}}">{{value.name}}</option>
                            </select>
                            <select ng-model="city" id="cityShow" ng-change="getDistrict()">
                            	<option value="">请选择</option>
                                <option ng-repeat="value in regionCityList" value="{{value.cityCode}}">{{value.name}}</option>
                            </select>
                            <select ng-model="district" id="districtShow">
                            	<option value="">请选择</option>
                                <option ng-repeat="value in districtList" value="{{value.cityCode}}">{{value.name}}</option>
                            </select>	
                            <input type="text" ng-model="address" class="textIn" />
                        </dd>
                    </dl>
                    <dl class="clearfix wd1">
                    	<dt>经度：</dt>
                        <dd><input type="text" ng-model="lat" class="textIn" /></dd>
                    </dl>
                    <dl class="clearfix wd2">
                    	<dt>纬度：</dt>
                        <dd>
                        	<input type="text" ng-model="lng" class="textIn" />
                            <span style="margin-left:20px; font-size:12px;">前往<a href="http://api.map.baidu.com/lbsapi/getpoint/index.html" target="_blank">百度地图坐标拾取</a>获得坐标！</span>
                        </dd>
                    </dl>
                    <dl class="clearfix wd3">
                    	<dt>交通信息:</dt>
                        <dd>
                        	<textarea  ng-model="travelInfo" placeholder="建议30字以内简单描述"></textarea>
                        </dd>
                    </dl>
                </div>
            
            	<h4>特色详情：</h4>
				
                <div class="featureInfo">
                	<dl class="clearfix">
                    	<dt>特色影厅：</dt>
                        <dd class="clearfix">
                        	<span>
                            	<input type="checkbox" ng-model="imax" id="t1" />
                                <label for="t1">IMAX</label>
                                <input type="text" ng-model="imaxVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox"  ng-model="chinaBig"  id="t2" />
                                <label for="t2">中国巨幕</label>
                                <input type="text" ng-model="chinaBigVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="atmos" id="t3" />
                                <label for="t3">全景声</label>
                                <input type="text" ng-model="atmosVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="d4"  id="t4" />
                                <label for="t4">4D</label>
                                <input type="text" ng-model="d4Val" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox"  ng-model="vipHall" id="t5" />
                                <label for="t5">VIP厅</label>
                                <input type="text" ng-model="vipHallVal" class="textIn" />
                            </span>
                        </dd>
                    </dl>
                    <dl class="clearfix">
                    	<dt>特色信息：</dt>
                        <dd class="clearfix">
                        	<span>
                            	<input type="checkbox" ng-model="wifi" id="t6" />
                                <label for="t6">WIFI</label>
                                <input type="text" ng-model="wifiVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="glass" id="t7" />
                                <label for="t7">3D眼镜</label>
                                <input type="text" ng-model="glassVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="park" id="t8" />
                                <label for="t8">停车场</label>
                                <input type="text" ng-model="parkVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="resting" id="t9" />
                                <label for="t9">休息区</label>
                                <input type="text" ng-model="restingVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="ticketMachine" id="t10" />
                                <label for="t10">取票机</label>
                                <input type="text" ng-model="ticketMachineVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="canCard" id="t11" />
                                <label for="t11">可刷卡</label>
                                <input type="text" ng-model="canCardVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="waterBar" id="t12" />
                                <label for="t12">水吧</label>
                                <input type="text" ng-model="waterBarVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="lover" id="t13" />
                                <label for="t13">情侣座</label>
                                <input type="text" ng-model="loverVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="children" id="t14" />
                                <label for="t14">儿童优惠厅</label>
                                <input type="text" ng-model="childrenVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="babyRoom" id="t15" />
                                <label for="t15">育婴室</label>
                                <input type="text" ng-model="babyRoomVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="vipPrivilege" id="t16" />
                                <label for="t16">会员优惠</label>
                                <input type="text" ng-model="vipPrivilegeVal" class="textIn" />
                            </span>
                            <span>
                            	<input type="checkbox" ng-model="oldPrivilege" id="t17" />
                                <label for="t17">长者优惠</label>
                                <input type="text" ng-model="oldPrivilegeVal" class="textIn" />
                            </span>
                        </dd>
                    </dl>
                    <dl class="clearfix">
                    	<dt>周边餐饮娱乐：</dt>
                        <dd>
                        	<textarea  ng-model="surroundingInfo" placeholder="建议30字以内简单描述"></textarea>
                        </dd>
                    </dl>
                </div>
                
                <div style="text-align:center; padding-top:20px;">
                	<input name="" type="button" ng-click="updateDetail(cinemaDetail.cinemaId)" class="btn btn-info" value="保存信息"/>
                </div>
			</div>
		</div><!-- /.modal-content -->
	</div>
</div>
<!-- /modal -->
<script type="text/javascript" src="/js/pluploadjs/plupload.full.min.js"></script>

<script src="../myJs/cinema.js"></script>

